<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>视频banner</title>
    <script src="../js/jquery-3.5.1.min.js"></script>
    <link rel="stylesheet" href="../css/bootstrap4.5.min.css">
    <link rel="stylesheet" href="../css/public.css">
    <style>
        .top_banner {
            height: 800px;
            position: relative;
        }

        .top_banner_video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .top_banner_title {
            position: absolute;
            top: 0;
            width: 100%;
            height: 100%;
            display: flex;
        }

        .top_banner_title .public_title {
            margin: auto;
            text-align: center;
        }

        @media (max-width:1240px) {
            .top_banner {
                height: auto;
                position: relative;
            }
        }
    </style>
</head>

<body>
    <div class="top_banner">
        <video class="top_banner_video" muted id="top_banner_video" autoplay loop>
            <source src="https://20008980.s61i.faiusr.com/58/AD0IlKDFCRA6GAAghsS-6QUowKrJ5QM.mp4" type="video/mp4">
        </video>
        <div class="top_banner_title">
            <div class="public_title ">
                <h2>banner</h2>
                <p>Event planning</p>
            </div>
        </div>

    </div>
</body>

</html>